int Index(char *S,const char *T,int *pos);